package cn.test;

import cn.domain.User;
import cn.service.impl.UserServiceImpl;
import org.junit.Test;

public class updatetest {

    public static void main(String[] args) {
        UserServiceImpl userService1 = new UserServiceImpl();
        User user1=new User();
        user1.setId(6);
        user1.setAddress("123");
        user1.setAge(20);
        user1.setEmail("231");
        user1.setGender("男");
        user1.setName("ykerer");
        user1.setQq("852");
        userService1.updateUser(user1);

    }
}
